@import '~@/assets/style/variable'

.header
  height $headerHeight
  width 100%
  position fixed
  top 0
  left 0
  background-color #fefefe
  border-bottom 1px solid #f7f7f7
  z-index 999
  > div
    align-items center
    display flex
    height 100%
    width 0
    background-color #f0f0f0
    transition width .3s
    color #626f8f
    > h1
      position absolute
      left 0
      right 0
      margin-left auto
      margin-right auto
      text-align center
      margin-top 0
      margin-bottom 0
      font-weight lighter
      height 100%
      display flex
      align-items center
      justify-content center
      font-size 22px
    :global
      svg
        top 0
        bottom 0
        margin-top auto
        margin-bottom auto
        position absolute
        margin-left 20px
        z-index 999
        cursor pointer
        & + svg
          right 20px